<%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ page isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%
  String path = request.getContextPath();
  String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
  String _id=request.getParameter("_");
%>
<div class="form-horizontal">
<div class="panel-heading header">
  <h3 class="panel-title" id="title">退回步骤</h3>
</div>

<c:if test="${fn:length(taskFlowList)>0}">
  <c:forEach items="${taskFlowList}" varStatus="i" var="list" >
    <div class="form-group">
      <label class="col-md-2 control-label"></label>
      <div class="col-md-6">
        <div class="radio">
          <input type="radio" class="magic-radio"  name="backStepNo" id="backStepNo${i.index + 1}" value="${i.index + 1}|${list.user.id}">
          <label for= "backStepNo${i.index + 1}">第${i.index + 1}步，操作人：${list.user.name}</label>
        </div>
      </div>
    </div>
  </c:forEach>
</c:if>

  <div class="form-group" id="comment">

      <div class="col-md-12">
        <textarea name="editor" id="editor"></textarea>
      </div>
  </div>
</div>
<script>
    var edit = null;
    $(function(){


          edit = new UE.ui.Editor();
          edit.render('editor');

        /*
         edit.ready(function() {
         edit.setContent("");
         });*/

    });
    function fn_dialog_getBackContent(callback) {
        callback(edit);
    }
</script>